package JDBC.pojo;

/**
 * @time: 2021/2/4/004 11:12
 * @author: Zhurunhe
 */
public class Person {
    private int P_id;
    private String P_name;
    private String P_pwd;

    public Person() {
    }

    public Person(int p_id, String p_name, String p_pwd) {
        P_id = p_id;
        P_name = p_name;
        P_pwd = p_pwd;
    }

    @Override
    public String toString() {
        return "Person{" +
                "P_id=" + P_id +
                ", P_name='" + P_name + '\'' +
                ", P_pwd='" + P_pwd + '\'' +
                '}';
    }

    public int getP_id() {
        return P_id;
    }

    public void setP_id(int p_id) {
        P_id = p_id;
    }

    public String getP_name() {
        return P_name;
    }

    public void setP_name(String p_name) {
        P_name = p_name;
    }

    public String getP_pwd() {
        return P_pwd;
    }

    public void setP_pwd(String p_pwd) {
        P_pwd = p_pwd;
    }
}
